import request from "@/utils/request.js";

const api = {
  // 获取用户信息接口

  award: (data, header) => {
    return request({
      url: "/app/Winning/add",
      method: "POST",
      data,
      header,
    });
  },
  activity: (data) => {
    return request({
      url: "/app/Winning/index",
      method: "POST",
      data: data,
    });
  },
  notice: (data) => {
    return request({
      url: "/app/active/index",
      method: "POST",
      data: data,
    });
  },
  activitys: (data) => {
    return request({
      url: "/app/Actprize/index",
      method: "POST",
      data: data,
    });
  },
};

export default api;
